package com.example.text.http.interceptor

import okhttp3.Interceptor
import okhttp3.Response

/**
 * @author yaotianxue
 * @description token拦截器
 * @date 2025/5/12
 */
class TokenInterceptor: Interceptor{
    override fun intercept(chain: Interceptor.Chain): Response {
        val request = chain.request().newBuilder()
            .addHeader("token","1")
            .build()
        return chain.proceed(request)
    }
}